const { defineConfig } = require('@vue/cli-service')

const port = 9092 // 端口
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    host: '0.0.0.0',
    port: port,
    open: true,
    proxy: {
      '/dev-api': {
        target: `http://localhost:9080`,
        changeOrigin: true,
        pathRewrite: {
          ['^/dev-api']: ''
        }
      }
    },
  },
})
